import {querymenus} from "@/Menu/QueryMenus";
import {GetWorkBenchMenu} from "@/Menu/WorkBenchMenus";

/**
 * 传入头部菜单点击的key获取侧边菜单
 * @constructor
 */
export const GetMenu = (key) => {
    if (key==="1"){
        return GetWorkBenchMenu
    }
    else if (key==="2"){
        return querymenus
    }
}